import React, { Component } from 'react'

// export class Recommend extends PureComponent {
export class Recommend extends Component {
  shouldComponentUpdate(nextProps, nextState) {
    if (nextProps.counter !== this.props.counter) {
      return true
    }
    return false
  }

  render() {
    console.log('Recommend render')

    return (
      <div>
        <h2>Recommend page</h2>
      </div>
    )
  }
}

export default Recommend
